/* Copyright (c) [2025] [zhi1208@126.com]
 * SPDX-License-Identifier: MIT
 */

#pragma once

/*********************
 *      INCLUDES
 *********************/
#include "lvgl.h"

/*********************
 *      DEFINES
 *********************/
#define HMI_WEATHER_CITY_NAME_LEN_MAX 32
#define HMI_WEATHER_TEXT_LEN_MAX 32
#define HMI_WEATHER_DIGIT_LEN_MAX 8

/**********************
 *      TYPEDEFS
 **********************/

/**********************
 * GLOBAL PROTOTYPES
 **********************/
extern lv_subject_t hmi_wifi_connect_subj;
extern lv_subject_t hmi_wifi_subj;

extern lv_subject_t hmi_bluetooth_subj;

extern lv_subject_t hmi_translations_subj;

extern lv_subject_t hmi_auto_dt_subj;

extern lv_subject_t hmi_led_strip_sw_subj;
extern lv_subject_t hmi_led_strip_normal_subj;
extern lv_subject_t hmi_led_strip_color_subj;
extern lv_subject_t hmi_led_strip_rainbow_subj;
extern lv_subject_t hmi_led_strip_brightness_subj;
extern lv_subject_t hmi_led_strip_hue_subj;

extern lv_subject_t hmi_dt_subj_group;
extern lv_subject_t hmi_weather_subj_group;

void hmi_subjects_init();

/**********************
 *      MACROS
 **********************/
